package cn.zlx.elasticsearch.dao;

import cn.zlx.elasticsearch.entities.User;
import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;

/**
 * @ClassName UserElasticsearchDao
 * @Description TODO
 * @Author Edward
 * @Date 2020/12/19 22:40
 */
public interface UserElasticsearchDao extends ElasticsearchCrudRepository<User,Long> {
    User getUserByContent(String content);
}
